package cn.amossun.starter.web.data.security.test.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_users_address")
public class UserAddress implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private int id;

    /**
     * 登录名
     */
    @TableField(value = "NICKNAME")
    private String nickName;

    /**
     * 地址
     */
    @TableField(value = "ADDRESS" )
    private String address;


}
